local luoshu = fk.CreateSkill{
  name = "mod__luoshu",
  frequency = Skill.Compulsory,
}
local luoshuEffects = {
  anim_type = "special",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(self) and target == player and event == fk.EventPhaseStart and player.phase == Player.Start
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local skills = {"ol_ex__luanwu", "jianshu", "yongdi", "xingshuai", "fencheng", "ol_ex__qimou", "xiongyi", "xiongsuan", "zaowang", "mod__fenbo"}
    skills = table.filter(skills, function(s)
      return not player:hasSkill(Fk.skills[s]) and player:usedSkillTimes(s, Player.HistoryGame) == 0
    end)
    if #skills > 0 then
      local choice = room:askForChoice(player, table.random(skills, 3), self.name, "#luoshu-choice", true)
      if choice then
        room:handleAddLoseSkills(player, choice, nil)
      end
    end
  end,
}
luoshu:addEffect(fk.EventPhaseStart, luoshuEffects)
Fk:loadTranslationTable{
  ["mod__luoshu"] = "络殊",
  [":mod__luoshu"] = "锁定技，准备阶段，你从随机三个限定技中获得一个。",
  ["#luoshu-choice"] = "络殊：选择获得技能",
}
return luoshu